<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>表单案例</title>
</head>
<body>
<form>
姓名<input type="text" name="firstname" value="tom"><br>
密码<input type="password" name="psw" value="123"><br>
性别<input type="radio" name="sex" value="male">男
<input type="radio" name="sex" value="female">女<br>
爱好<input type="checkbox" name="vehicle" value="Bike">足球
<input type="checkbox" name="vehicle" value="Car">篮球
<input type="checkbox" name="vehicle" value="Car">排球<br>
地址
<form action="">
<select name="city1">
<option value="volvo">黑龙江省</option>
<option value="saab">河南省</option>
<option value="fiat">陕西省</option>
<option value="audi">山西省</option>
</select>
<select name="city2">
<option value="volvo">哈尔滨</option>
<option value="saab">郑州</option>
<option value="fiat">新乡</option>
<option value="audi">焦作</option>
</select>
</form>
邮箱<input type="text" name="mail" value="tom@itcast.cn"><br>
上传头像<input type="button" value="浏览——"><br>
备注<textarea rows="10" cols="30">
who are you？
</textarea><br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
<input type="button" value="注册">
<input type="button" value="取消">
</form>
</body>
</html>